package by.amakarevich.services;

import org.springframework.transaction.annotation.Transactional;

import by.amakarevich.datamodel.GoodToKnow;

public interface GoodToKnowService {

	GoodToKnow get(Long id);
	
	@Transactional
	void saveOrUpdateGoodToKnow(GoodToKnow goodToKnow);
	
	@Transactional
	void deleteGoodToKnow(GoodToKnow goodToKnow);

	@Transactional
	void deleteAll();
}
